﻿@{
    ViewBag.Title = "AdminView";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
 <input type="hidden" value="@Session[HomeCareLibrary.Constants.SessionConstants.MODE]" id="hdnSessionValueAdminView" />
<script type="text/javascript">
    $(document).ready(function () {
        window.scrollTo(0, 0);
        $("#divtopHomecarelibrary").hide();
        $("#divbottomtaskstips").show();
        $(".task-tab, .tips-tab, .ideas-tab, .extras-tab").hide();
        $(".admin-tab").show();
        checkscreenWidth();
        $("#adminLI").addClass('active').siblings().removeClass('active');
        checkForIphone();
    });

    function checkForIphone() {

        if ($("#hdnSessionValueAdminView").val() != '') {
            if ($("#hdnSessionValueAdminView").val() == "@HomeCareLibrary.Constants.ApplicationModeConstants.IPHONE_APP") {

                $(".mobileMenu").show();
            }
        }

    }

</script>